package com.yunding.house.service;


import com.yunding.house.pojo.Agent;
import com.yunding.house.utils.PageResult;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author linyang
 * @since 2019-08-15
 */
public interface AgentService {
    void save(Agent agent);

    void del(long id);

    void update(Agent agent);

    List<Agent> findAll();

    Agent selectone(long id);

    PageResult search(int page, int size, Agent agent);

    List<Agent> like(String agentname);
}
